I've tryed to make it useful for VB programmers and I want to thanks to all those that made me sugestions about it.
This is the last free version of this control and I uploaded it to fix some bugs that affected the impression about it.
Version 2.0 will be available soon as a shareware, and will have improved functionality (for example you just drag it to the form, no need to call InitF and RefaF, greater speed, more controls that can resize -including Microsoft Tabbed Dialog, better scalling, etc).
History of VSoftResize
Version 1.00
First release of this OCX. It is intend to do a "smart" resize of a VB form, meaning that it will resize ALL the controls that it contains (even objects placed on containers).
All you need is to call InitF method after the form is displayed (when you LOAD the form) and to call RefaF in the RESIZE event of the form.
What's new in version 1.01 - 14-sep-1998
----------------------------------------
Added method InitialSize, that restore dimensions of form at the moment that InitF was called.
Fixed zip with setup kit (setup_1.exe had an error... maby my bad Internet connection?!)
What's new in version 1.02 - 15-sep-1998
----------------------------------------
1) Optimised for slower machines
2) Added new proprieties:
RestrictHeight
When set to True, you can set the Min/Max Height of the form. Default values:Min=0, Max=screen Height
RestrictWidth
When set to True, you can set the Min/Max width of the form. Default values:Min=0, Max=screen Width
MinHeight
MaxHeight
MinWidth
MaxWidth
This proprieties are self-explanatrory
What's new in version 1.02.0001 - 06-oct-1998
----------------------------------------
1) Fixed bugs in using RestrictWidth and RestrictHeight
2) Fixed bug that caused runtime error when maximizing or minimazing the form.
3) MinHeight and Min Width now defaults to initial form dimensions.
Notes:
------
The control does not have any dependencies. I put the .dep file in the zip just for avoiding that nusty screen in the Setup utility...
Tip:
----
If you want to have this events "Ready" for all your forms, just save a form with this calls in your Templates subdirectory of VB. The rest is simple with "Add Form", right?
Licence:
--------
This software is for now FREEWARE, and I really mean it! No splash screens about producer or registratin fees, no expiration date, just FREE TO USE (even in commercials...).
Any way, I would appreciate (if you find it useful ) an E-mail for moral support. It's my first FREE control, and I just want to test my capabilities to offer something useful to others. But I need feed-back, else I will suppose that what I have to offer is useless, so why should I continue?
I don't even request the "traditional - if you liked it, 5$ would be appreciated...". But a message with sugestions for improveing my OCX worth for me more than 1000$.
So enjoy it, but keep me informed with your needs.